#!/bin/sh

CHECK_FILE=env:away

echo 'Cache-Control: no-cache'
echo 'Content-type: text/html'
echo
echo '<HTML><HEAD><TITLE>'
echo 'Is anybody there?'

echo '</TITLE></HEAD>><BODY BGCOLOR="#ffffff">'
echo '<IMG SRC="/pics/HiddiLine.gif" WIDTH="580" HEIGHT="9" ALT=" "><BR>'

if test -f $CHECK_FILE; then
    echo "<h1>Sorry, I am absent...</H1>"
    echo "...but I am still logged in. I will be back in a few minute, tonight,"
    echo "tomorrow or next monday ;-)"

else
    echo "<H1>There's somebody around!</h1>"

    echo "I am sitting in front of my computer right now and you can try to "
    echo "contact me via<P><PRE>"
    echo "  ntalk math@" $SERVER_NAME
    echo "</PRE><P>"

    echo "<B>Note</b>: my talk-daemon doesn't work very well - you should"
    echo 'consider to <A HREF="mailto:Torsten.Hiddessen@tu-clausthal.de">contact'
    echo 'me via email</a>, so.'
fi

echo '<P><hr>'
echo 'Created at 29-Dec-96, updated on 21-Feb-97'
echo '<ADDRESS><A HREF="/"Torsten Hiddessen</a></ADDRESS>'
echo '</BODY></HTML>'


